home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 1999 #2 / Amiga Plus CD - 1999 - No. 2.iso / System-Boost / Workbench / Archive / XPK / xpk_Source / examples / makefile next >
Makefile  |  1998-11-15  |  698b  |  38 lines

  1. #
  2. # Makefile for the various example programs
  3. #
  4. # The files in here:
  5. # - xpkmanx.c   :  The 'xpk' program for Manx compilation
  6. # - xpksas.c    :  The 'xpk' program for SAS  compilation
  7. # - xpkdice.c   :  The 'xpk' program for DICE compilation
  8. #
  9.  
  10. msg:
  11.     -Please specify your compiler, either 'make manx', 'make sas' or 'make dice'
  12.  
  13. all: manx dice sas
  14.  
  15. manx: xpkmanx
  16. dice: xpkdice
  17. sas : xpksas
  18.  
  19. #-----MANX
  20. xpkmanx: xpkmanx.c
  21.     cc xpkmanx.c
  22.     ln xpkmanx.o -lc
  23.  
  24. #----DICE
  25. xpkdice: xpkdice.c
  26.     dcc xpkdice.c -lxpkmaster.lib -oxpkdice
  27.  
  28. #----SAS
  29. xpksas: xpksas.c
  30.     sc xpksas.c LINK TO xpksas LIB lib:sc.lib NOICONS
  31.  
  32. clean:
  33.     -Delete "#?.o"
  34.     -Delete "#?manx"
  35.     -Delete "#?sas"
  36.     -Delete "#?.lnk"
  37.     -Delete "#?dice"
  38.